{extend name="$_tpl_public_layout_ace"/}


{block name="breadcrumb"}
<ul class="breadcrumb">
	<li><i class="fa fa-home home-icon"></i><a href="{:url('manage/index/index')}">{:config('web_site_title')}</a></li>
	<li><a href="{:url('seatsel/manage/index')}">{:config('proj_name')}</a></li>
	<li><a href="{:url('seatsel_manage/hall/index')}">{$sideName}</a></li>
</ul>
{/block}


{block name="pageheader"}
<h1>
	{$sideName}
</h1>
{/block}


{block name="content"}
<div class="callout callout-danger">
	温馨提示：您需要先建有影厅，然后才可以设置座位哦！
</div>

<div class="mb10">
	<a href="{:url('seatsel_manage/hall/add')}" class="btn btn-primary btn-sm"><i class="fa fa-pencil align-top bigger-125"></i> 添加</a>
</div>

<form class="">
	<table class="table table-striped table-bordered table-hover dataTables-table">
		<thead>
			<tr>
				<th width="76">序号</th>
				<th>名称</th>
				<th>介绍</th>
				<th width="60">状态</th>
				<th width="160">操作</th>
			</tr>
		</thead>
		<tbody>
			{volist name="list" id="vo"}
			<tr>
				<td>{$vo['id']}</td>
				<td>{$vo['name']}</td>
				<td>{$vo['descrip']}</td>
				<td>{$vo['status_show']}</td>
				<td>
					<div>
						<a href="{:url('seatsel_manage/hall/add', ['id'=>$vo['id']])}" class="btn btn-primary btn-xs">编辑</a>
						<a href="{:url('seatsel_manage/hall/doDelete', ['id'=>$vo['id']])}" class="btn btn-danger btn-xs J_layerConfirm" data-tip="确认删除吗？">删除</a>
					</div>
					<div class="mt5">
						<a href="{:url('seatsel_manage/hall/setSeat', array('hid'=>$vo['id']))}" class="btn btn-info btn-xs">设置座位</a>
						<a href="{:url('seatsel_manage/hall/doCopy', array('hid'=>$vo['id']))}" class="btn btn-success btn-xs J_layerConfirm" data-tip="确认复制吗？">复制一份</a>
					</div>
				</td>
			</tr>
			{/volist}
		</tbody>
	</table>
	<div class="dataTables-controll">
		<button type="submit" class="btn btn-success btn-sm J_ajaxSubmit">提交排序</button>
	</div>
</form>
<div class="dataTables-pages">{$pageShow}</div>
{/block}